package com.zelma.house.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zelma.common.utils.PageUtils;
import com.zelma.common.utils.R;
import com.zelma.house.entity.ResourceEntity;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author zelma
 * @email 1239115389@qq.com
 * @date 2022-01-07 14:58:16
 */
public interface ResourceService extends IService<ResourceEntity> {

    PageUtils queryPage(Map<String, Object> params) throws IOException;

    List<ResourceEntity> saleDetails(Integer saleId);

    List<ResourceEntity> saleRentDetails(Integer saleId);

    R combatGains(Integer resourceStatus, Integer agentId);

    R egisa(Integer resourceId) throws IOException;

    PageUtils homeFunEslist(Map<String, Object> params);
}

